public class TestModule {
    
	public String version = "version 1";
	
	public void m1(String s, int a){
		for(int i = 0; i < a; i++){
			System.out.println(s);
		}
	}
	
	@Override
    public String toString() {
        return "TestModule, " + version;
    }

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((version == null) ? 0 : version.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		
		System.out.println("getClass() = " + getClass());
		System.out.println("obj.getClass() = " + obj.getClass());
		
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (!getClass().getSimpleName().equals(obj.getClass().getSimpleName()))
			return false;
		TestModule other = (TestModule) obj;
		if (version == null) {
			if (other.version != null)
				return false;
		} else if (!version.equals(other.version))
			return false;
		return true;
	}
	
	
}